c18e1d28e57e41aa43be7a8d623a227468f960a8,src/main/java/vazkii/quark/automation/feature/PistonsMoveTEs.java,PistonsMoveTEs,setPistonBlock,#World#BlockPos#IBlockState#number#,43

Before Change


		
		TileEntity tile = getAndClearMovement(world, pos);
		if(tile != null)
			world.setTileEntity(pos, tile);
		
		return false; // the value is popped, doesn't matter what we return
	}

After Change


			if(!block.canPlaceBlockAt(world, pos)) {
				System.out.println(world.getBlockState(pos).getBlock());
				world.setBlockState(pos, state, flags);
				world.setTileEntity(pos, tile);
				block.dropBlockAsItem(world, pos, state, 0);
				world.setBlockToAir(pos);
				destroyed = true;